Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify logic on no arg commands #1584

Merged
merged 3 commits into from
Jan 29, 2025
Merged

simplify logic on no arg commands #1584

merged 3 commits into from
Jan 29, 2025

Conversation

joswig
Copy link
Collaborator

@joswig joswig commented Dec 18, 2024

I am not clear on the rationale for making a distinction on whether or not an arguments node is present, I don't expect the user to know and what is important is that the argument counts match. Let me know if I'm missing some nuance here.

@joswig joswig requested a review from goetzrrGit December 18, 2024 20:47
@joswig joswig marked this pull request as ready for review December 18, 2024 20:50
@joswig joswig requested a review from a team as a code owner December 18, 2024 20:50
Copy link
Contributor

@goetzrrGit goetzrrGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor change.

I also pushed a fix to getFromAndTo so it doesn't return Number.MAX_VALUE or Number.MIN_VALUE which isn't supported by codemirror

@joswig joswig force-pushed the bug/empty_arguments branch from 7bd509c to 8fd1e13 Compare January 23, 2025 19:10
@joswig joswig requested a review from duranb January 23, 2025 21:11
joswig and others added 3 commits January 29, 2025 10:25
* Was returning a min or max that was outside the scope of the editor.
* Update custom folder after addressing this issue.
@joswig joswig requested a review from goetzrrGit January 29, 2025 19:10
Copy link
Contributor

@goetzrrGit goetzrrGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All issues are resolved.

@joswig joswig merged commit c4d22a0 into develop Jan 29, 2025
6 checks passed
@joswig joswig deleted the bug/empty_arguments branch January 29, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants